<?php

/**
 * Template Name: bbPress - User Register
 *
 * @package bbPress
 * @subpackage Theme
 */

// No logged in users
bbp_logged_in_redirect();

// Begin Template
get_header(); ?>

<div id="container">
    <div class="centered">
		<div id="content" role="main">

			<?php do_action( 'bbp_template_notices' ); ?>

			<?php while ( have_posts() ) : the_post(); ?>

				<div id="bbp-register" class="bbp-register">
					<h1 class="entry-title"><?php the_title(); ?></h1>
					<div class="entry-content">

						<?php the_content(); ?>

						<?php bbp_breadcrumb(); ?>

						<?php bbp_get_template_part( 'bbpress/form', 'user-register' ); ?>

					</div>
				</div><!-- #bbp-register -->

			<?php endwhile; ?>
<?php get_footer(); ?>
